import time

from page import IndexPageHome


class IndexHandle(IndexPageHome):
    # 点击查看
    def click_look(self):
        self.get_look_ele().click()

    def click_menu_yx(self):  # 点击隐形正畸菜单栏
        self.get_menu_yx_ele().click()

    def click_menu_gd(self):
        self.get_menu_gd_ele().click()  # 点击固定正畸

    def click_quit1(self):
        time.sleep(2)
        self.get_quit1_ele().click()

    def click_quit2(self):
        self.get_quit2_ele().click()

    def click_quit3(self):
        self.get_quit3_ele().click()

    def click_center1(self):
        self.get_center1_ele().click()

    def click_center2(self):
        self.get_center2_ele().click()

    def use_scuess(self):
        self.get_use_sucess_ele()

    def order_list_success(self):
        self.get_order_list_success_ele()
